package com.bwie.service.impl;

import com.bwie.dao.BargainingDao;
import com.bwie.pojo.Bargaining;
import com.bwie.service.BargainingService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class BargainingServiceImpl implements BargainingService {

    @Autowired
    private BargainingDao bargainingDao;

    @Override
    public List<Bargaining> bargainingList() {
        return bargainingDao.bargainingList();
    }

    @Override
    public Bargaining echo(Integer bargainingId) {
        return bargainingDao.echo(bargainingId);
    }
}
